//
//  ESTLoginTool.h
//  ESTSCRMAPP
//
//  Created by 李贤立 on 2018/9/27.
//  Copyright © 2018年 Capfer. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ESTLoginTool : NSObject
/**
 *  登出
 */
+ (void)logoutWithComplement:(void(^)(BOOL result))complement;

/**
 不下载数据表登录
 
 @param userAccount 用户名
 @param password 密码
 @param complement 完成回调
 */
//- (void)loginWithUserAccount:(NSString *)userAccount password:(NSString *)password complement:(void (^)(NSString *result))complement;

/**
 登录
 
 @param userAccount 用户名
 @param password 密码
 @param loginSuccess 登录成功回调
 @param complement 最后完成回调
 */
+ (void)loginWithUserAccount:(NSString *)userAccount password:(NSString *)password loginSuccess:(void(^)(NSInteger integer))loginSuccess complement:(void(^)(NSString *result))complement;
@end
